package com.example.lianxi222.adapter;

import com.flyco.tablayout.listener.CustomTabEntity;

public class TabAdapter implements CustomTabEntity {
    private String text;

    public TabAdapter(String text) {
        this.text = text;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
    @Override
    public String getTabTitle() {
        return text;
    }

    @Override
    public int getTabSelectedIcon() {
        return 0;
    }

    @Override
    public int getTabUnselectedIcon() {
        return 0;
    }
}
